Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 4 - Geometric Operations / Geometric Operations Reference
Constants and Data Types


Contour Directions

QuickDraw GX assigns a contour direction to every contour in a shape: contours are either clockwise or counterclockwise.

Contour directions are specified by the gxContourDirections enumeration, which is defined as follows:

enum gxContourDirections {
   gxCounterclockwiseDirection,
   gxClockwiseDirection
};
typedef long gxContourDirection;
Constant descriptions

gxCounterclockwiseDirection
A counterclockwise contour direction.
gxClockwiseDirection
A clockwise contour direction.
For more information about the contours of the various geometric shapes, see Chapter 2, "Geometric Shapes," in this book.

For more information about contour direction, see "Contours and Contour Direction" beginning on page 4-4.

For more information about how QuickDraw GX uses contour direction, see the description of the GXReverseShape function on page 4-70.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help